package com.deyang.workflow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.deyang.workflow.entity.WorkOrderTemplate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.deyang.workflow.vo.TemplateVO;

import java.util.List;

/**
 * <p>
 * 模板表 服务类
 * </p>
 *
 * @author zhanghuaiyu
 * @since 2021-07-01
 */
public interface IWorkOrderTemplateService extends IService<WorkOrderTemplate> {


    //保存模板信息
    void saveTemplate(TemplateVO templateVO);

    //分页查询模板信息
    IPage<WorkOrderTemplate> queryTemplate(WorkOrderTemplate workOrderTemplate);

    //回显模板信息
    TemplateVO echoTemplate(String templateCode);

    //编辑模板信息
    void editTemplate(WorkOrderTemplate workOrderTemplate);
}
